﻿<!--
  // Deep Earth is a community project available under the Microsoft Public License (Ms-PL)
  // Code is provided as is and with no warranty - Use at your own risk
  // View the project and the latest code at http://DeepEarth.codeplex.com/
-->

<UserControl
    x:Class="ExampleControl.MainPage"
    xmlns:local="clr-namespace:ExampleControl.Controls"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:de_cordpanel="clr-namespace:DeepEarth.Client.Controls.DEMap;assembly=DeepEarth.Client.Controls.DEMap.NavigationPanel" 
    xmlns:de_scalepanel="clr-namespace:DeepEarth.Client.Controls.DEMap;assembly=DeepEarth.Client.Controls.DEMap.ScalePanel" 
    xmlns:de_coords="clr-namespace:DeepEarth.Client.Controls.DEMap;assembly=DeepEarth.Client.Controls.DEMap.CoordinatePanel" 
    xmlns:de_logo="clr-namespace:DeepEarth.Client.Controls;assembly=DeepEarth.Client.Controls.Logo" 
    xmlns:de_map="clr-namespace:DeepEarth.Client.MapControl;assembly=DeepEarth.Client.MapControl" 
    xmlns:de_zoomslider="clr-namespace:DeepEarth.Client.Controls.DEMap.ZoomSlider;assembly=DeepEarth.Client.Controls.DEMap.ZoomSlider"
    xmlns:de_datelinelite="clr-namespace:DeepEarth.Client.Controls.DEMap.DateLineLite;assembly=DeepEarth.Client.Controls.DEMap.DateLineLite"
    mc:Ignorable="d" d:DesignHeight="600" d:DesignWidth="800">

    <Grid x:Name="LayoutRoot" Background="White">

        <de_map:Map x:Name="MyMap" />

        <de_cordpanel:NavigationPanel x:Name="MyNavigationPanel" MapName="MyMap" HorizontalAlignment="Left" Margin="8,8,0,0" VerticalAlignment="Top">
            <StackPanel Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Center">
                <local:HorizontialToolBarItems x:Name="horizontialToolBarItems" />
            </StackPanel>
        </de_cordpanel:NavigationPanel>

        <StackPanel Orientation="Horizontal" VerticalAlignment="Bottom" Margin="0,0,8,8" HorizontalAlignment="Right">
            <!--<de_datelinelite:DatePicker x:Name="MyDatePicker" MapName="MyMap" VerticalAlignment="Bottom" />-->
            <StackPanel>
                <de_coords:CoordinatePanel x:Name="MyCoordinatePanel" MapName="MyMap" />
                <de_scalepanel:ScalePanel x:Name="MyScalePanel" MapName="MyMap" />
                <de_zoomslider:ZoomSlider x:Name="MyZoomSlider" MapName="MyMap" />
            </StackPanel>
        </StackPanel>

        <de_logo:Logo x:Name="MyLogo" Margin="8,0,0,8" HorizontalAlignment="Left" VerticalAlignment="Bottom"/>

    </Grid>

</UserControl>